package cn.tedu.charging.perm.mapper;

import cn.tedu.charging.perm.pojo.po.Perm;
import cn.tedu.charging.perm.pojo.param.PermQuery;
import cn.tedu.charging.perm.pojo.po.RolePerm;
import cn.tedu.charging.perm.pojo.vo.PermVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PermMapper extends BaseMapper<Perm> {
    List<PermVO> selectPerm(PermQuery permQuery);

    void insertRolePerm(RolePerm rolePerm);

    void deleteRolePerm(RolePerm rolePerm);

    List<RolePerm> selectRolePerm(RolePerm rolePerm);
}
